package vo
{
	import flash3.net.ByteArrayPlus;
	
	public class ServerRunInfo implements ISocket
	{
		public var prizesPool:MoneyPoolItem;		//奖金池信息
		public var rankInfo:UserRankInfo;			//排名信息
		public var eventleftime:uint;				//事件剩余时间 (秒)
		public var minMoney:uint;					//最低需求油量
		
		public function ServerRunInfo()
		{
			prizesPool = new MoneyPoolItem();
			rankInfo = new UserRankInfo();
		}
		
		public function read(bap:ByteArrayPlus):void
		{
			prizesPool.readPrizePool(bap);
			rankInfo.read(bap);
			eventleftime = bap.readUnsignedInt();
		}
		public function write(bap:ByteArrayPlus):void
		{
			
		}
	}
}